| Author |
Thread Statistics | Show CCP posts - 12 post(s) |

Raquel Smith
Freedom-Technologies
|
Posted - 2006.08.06 23:10:00 -
[1]
Is there an interest in a Postgres (8.1.x) migration guide or even just a mammoth .sql file to \i from psql? I've been working on one based on Quutar's comments in post #205 on page seven. Right now the .sql file is 18 MB gzipped.
I'm hoping this SQL set could make a good Rails learner.
|

Raquel Smith
Freedom-Technologies
|
Posted - 2006.08.09 12:54:00 -
[2]
Originally by: Rikkard Strofeldt Edited by: Rikkard Strofeldt on 07/08/2006 12:20:03 I have the SQL for PostgreSQL. Had to mess around with it a bit, I'm using a UTF-8 system, and I'm assuming the dump was made in Win1252. Also had to screw with the reserved words as column names, and some of the field types.
I created a project on a berlios.de site and will upload my dump there after it is approved. Was going to do this ages ago, but I was always playing when I wasn't sharing the net connection. Oh well. I'll either update this post with a URL, or add another reply.
If anyone is interested in putting their dumps up here as well, join up, and when its there I can add you to the project. You don't need to join if you're just going to download the dumps.
Was your project approved?
|

Raquel Smith
Freedom-Technologies
|
Posted - 2006.08.23 09:52:00 -
[3]
With this latest patch I wonder if there will be another dump for us. I seem to recall the devs had to rearrange the database and it would be nice to have a sane dump.
|

Raquel Smith
Caldari Provisions
|
Posted - 2006.08.30 21:02:00 -
[4]
Edited by: Raquel Smith on 30/08/2006 21:03:19 To "Postgresilise" the data this shell script function can be called:
postgresilise() { cmd="-e 's:,,:,null,:g' \ -e 's:,):,null):g' \ -e 's:(,:(null,:g' \ -e 's:CHAR(400):TEXT:g' \ -e 's:CHAR(1000):TEXT:g' \ -e 's:CHAR(3000):TEXT:g' \ -e 's:CHAR(4000):TEXT:g' \ -e 's:CHAR(6000):TEXT:g' \ -e 's:UNKNOWN:INTEGER:g' \ -e 's:xMin:x_Min:g' \ -e 's:yMin:y_Min:g' \ -e 's:yMin:z_Min:g' \ -e 's:xMax:x_Max:g' \ -e 's:yMax:y_Max:g' \ -e 's:zMax:z_Max:g' \ -e 's:dbo.::g'"
attribs="published stackable highIsGood scattered isOffensive isAssistance \ disallowAutoRepeat published isWarpSave electronicChance propulsionChance \ isDefault obsolete useBasePrice allowManufacture allowRecycler anchored \ anchorable *****bleNonSingleton hasTypes border fringe corridor hub \ international regional constellation scattered"
for col in $attribs do cmd="${cmd} -e '/${col}/s/INTEGER/BOOLEAN/'" done cmd="sed -i $cmd *.sql" eval $cmd }
Substitue the asterisks (a Scandinavian curse word) for fit and ta.
I'm trying to gather item data from the mess for a Ruby on Rails project. So far I've imported systems, constellations, regions, most names (into 1 table), dimensions, coordinates, jumps, stargates, planets, moons, asteroid belts, factions, NPC corporations, stations, market groups and some items.
The issue I'm having now is trying to figure out the bloody tl2materialsfortypewithactivity table so I can figure out what is needed to make something!
edit: Sorry for messing up the width of anyone's browser .
|

Raquel Smith
Caldari Provisions
|
Posted - 2006.09.03 18:57:00 -
[5]
I came across a troubling issue.
I've been examining some market exports and there are systems that are not in the stastations table.
So far in The Forge I've come across: 60015002 Aokannitoh VII - Moon 2 - School of Applied Knowledge 60015025 Hentogaira I - Moon 11 - Science and Trade Institute 60015026 Uchosi XI - Moon 14 - School of Applied Knowledge 60015027 Ishiomo VIII - Moon 11 - State War Academy School
There are doubtlessly others! Where are these systems??
|

Raquel Smith
Caldari Ferengi Commerce Authority
|
Posted - 2006.09.26 08:41:00 -
[6]
Originally by: Amarr Menza Hi,
The EVE data wiki is now coming on great quite a few of the Tables have been optimised and outputted in MySQL 5, I am now adding optimised CSV downloads and will add XML and SQL very soon. Plus a decent schema of the DB. Looking for support on this so if anyone wants to help out click below log in and get stuck in.
EVE Data Help
Cheers
Amarr
Not really sure what the goal of the project is. There is already a guide to migrating the TSQL to MySQL and Postgres.
|

Raquel Smith
Caldari Ferengi Commerce Authority
|
Posted - 2006.09.26 09:35:00 -
[7]
Originally by: Amarr Menza Hi
Ok show me a link to this guide please.
The goal is to not provide a 'Guide' but to provide updated optimised MySQL / Postgres / any DB schemas and data exports.
As you can see from
EVE MySQL Exports
This is starting to happen now, I find the SQL generated by CCP is not indexed correctly, the fields types are obviously all a miss - so I am simply correcting all these importing in the CSV and then exporting this out again in an optimised fashion.
The guide exists in this thread!
I agree that CCP's schema is rubbish. I spent weeks optimising it for my own needs.
|

Raquel Smith
Caldari Ferengi Commerce Authority
|
Posted - 2006.11.13 07:48:00 -
[8]
Originally by: t20 You'll all get the new data when Revelations (Kali) hits the deck.
You, sir, are my hero.
|

Raquel Smith
Caldari Ferengi Commerce Authority
|
Posted - 2006.11.30 14:57:00 -
[9]
Originally by: t20 data dump delayed till we're 150% confident that everything's running smooth, we've changed some "static" data that would require me to do another data dump. ETA: sooner than soon.
so until then, just be on hold.
*whine* But I'm impatient! 
We'll wait and look forward to seeing more yellow (updated) tags on the blog entry.
|

Raquel Smith
Caldari Freedom-Technologies Knights Of the Southerncross
|
Posted - 2006.12.06 16:35:00 -
[10]
Originally by: t20 It's on the way, izz naajs
My hero.
|
| |
|